<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" isELIgnored="false" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/public.css" media="all">
    <style>
        body {
            background-color: #ffffff;
        }
    </style>
</head>
<body>
<form action="${pageContext.request.contextPath}/fitness/managerment/update.html" method="post">
    <div class="layui-form layuimini-form">
        <div class="layui-form-item">
            <label class="layui-form-label required">学生id</label>
            <div class="layui-input-block">
                <input type="text" id="id" name="student_id" lay-verify="required" lay-reqtext="用户名不能为空" placeholder="请输入用户名"
                       value="${fitness.student_id}" class="layui-input"  readonly="readonly">
                <tip>填写自己管理账号的名称。</tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">生理功能水平</label>
            <div class="layui-input-block">
                <input type="text" id="position" name="physiological" lay-verify="required" lay-reqtext="职务不能为空" placeholder="请输入职务"
                       value="${fitness.physiological}" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">身体素质和运动能力</label>
            <div class="layui-input-block">
                <input name="physical" type="text" name="type" placeholder="请输入工作类型" value="${fitness.physical}" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">身体形态发育水平</label>
            <div class="layui-input-block">
                <input  type="text" name="developmental" placeholder="请输入工作内容" value="${fitness.developmental}" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">适应能力</label>
            <div class="layui-input-block">
                <input  type="text" name="adapt" placeholder="请输入工作内容" value="${fitness.adapt}" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">心理发展状态</label>
            <div class="layui-input-block">
                <input  type="text" name="status" placeholder="请输入工作内容" value="${fitness.status}" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">创建时间</label>
            <div class="layui-input-block">
                <input readonly="readonly" type="text" name="create_time" placeholder="请输入工作内容" value="${fitness.create_time}" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">更新时间</label>
            <div class="layui-input-block">
                <input readonly="readonly" type="text" name="update_time" placeholder="请输入工作内容" value="${fitness.update_time}" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button type="submit" class="layui-btn layui-btn-normal"  >确认保存</button>
            </div>
        </div>
    </div>
    </div>
</form>
<script src="${pageContext.request.contextPath}/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<%--<script>--%>
<%--    layui.use(['form'], function () {--%>
<%--        var form = layui.form,--%>
<%--            layer = layui.layer,--%>
<%--            $ = layui.$;--%>

<%--        //监听提交--%>
<%--        form.on('submit(saveBtn)', function (data) {--%>
<%--            var index = layer.alert(JSON.stringify(data.field), {--%>
<%--                title: '最终的提交信息'--%>
<%--            }, function () {--%>

<%--                // 关闭弹出层--%>
<%--                layer.close(index);--%>

<%--                var iframeIndex = parent.layer.getFrameIndex(window.name);--%>
<%--                parent.layer.close(iframeIndex);--%>

<%--            });--%>

<%--            return false;--%>
<%--        });--%>

<%--    });--%>
<%--</script>--%>
</body>
</html>